import Vue from 'vue';
import './mock.js'
import './compontents.js'
import Swiper from 'vue-awesome-swiper';
import VueWechatTitle from "vue-wechat-title"


function debounce(fn, wait){
	let timer = null;
	return function() {
		if(timer !== null) clearTimeout(timer);
		timer = setTimeout(fn, wait);
	};
}




Vue.prototype.$debounce = debounce;

Vue.use(Swiper);
Vue.use(VueWechatTitle)